package com.sky.moduels.mini.repository.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sky.moduels.mini.repository.enums.UserStatus;
import lombok.Data;

import java.util.Date;

/**
 * @Description: 用户
 * @ClassName: UserDO
 * @Author: hupengming
 * @CreateTime: 2022-08-22 10:58
 */
@Data
@TableName("`user`")
public class UserDO {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @TableField("open_id")
    private String openId;

    private UserStatus status;

    @TableField("created_at")
    private Date createdAt;

    @TableField("updated_at")
    private Date updatedAt;

    @TableField("deleted_at")
    private Date deletedAt;

}
